package com.ruoyi.web.controller.applet;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.system.domain.HospitalSubscribeInspectionResults;
import com.ruoyi.system.service.IHospitalSubscribeInspectionResultsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import java.util.List;

/**
 * 检查项目结果Controller
 *
 * @author ruoyi
 * @date 2025-05-26
 */
@RestController
@RequestMapping("/applet/results")
public class HospitalSubscribeInspectionResultsAppletController extends BaseController
{
    @Autowired
    private IHospitalSubscribeInspectionResultsService hospitalSubscribeInspectionResultsService;

    /**
     * 查询检查项目结果列表
     */
    @GetMapping("/list")
    public TableDataInfo list(HospitalSubscribeInspectionResults hospitalSubscribeInspectionResults)
    {
        startPage();
        List<HospitalSubscribeInspectionResults> list = hospitalSubscribeInspectionResultsService.selectHospitalSubscribeInspectionResultsList(hospitalSubscribeInspectionResults);
        return getDataTable(list);
    }

    @GetMapping("/selectList")
    public TableDataInfo selectList(HospitalSubscribeInspectionResults hospitalSubscribeInspectionResults)
    {
        List<HospitalSubscribeInspectionResults> list = hospitalSubscribeInspectionResultsService.selectHospitalSubscribeInspectionResultsList(hospitalSubscribeInspectionResults);
        return getDataTable(list);
    }
}
